package com.cmy.controller;

import com.cmy.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class ControllerUser {
    @GetMapping("/user")
    public String FromFrontEnd(Model model){
        model.addAttribute("msg","hello");
        return "test";
    }
}

    